﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ShowPdi.aspx.cs" Inherits="ShowPdi" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="css/PageStyle.css" rel="Stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <p style="margin: 0px">
            <object classid="clsid:4F26B906-2854-11D1-9597-00A0C931BFC8" id="pdiShow" width="100%" height="100%" border="0"
                vspace="0" hspace="0" codebase="..\include\ActiveView_3.0.15.4_.exe#version=3,0,15,4">
                <param name="ServerIniURL" value="D:\Program Files\PIPC\DAT\pilogin.ini" />
                <param name="DIsplayURL" value="<%=GetUrlParam() %>" />
            </object>
        </p>
    </div>
    </form>
</body>
</html>
<script type="text/jscript">
    var s = document.documentElement.clientHeight - 2 + "px";
    var iframe = document.getElementById("pdiShow");
    if (iframe.style.height < s) {
        iframe.style.height = s;
    }
</script>


